package com.swak.wechat.component;

import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * 授权方信息
 * 
 * @author DELL
 */
@Getter
@Setter
public class AuthorizerInfo {

	private String nick_name;
	private String head_img;
	private String service_type_info;
	private String verify_type_info;
	private String user_name;
	private String principal_name;
	private String signature;// 小程序才有
	private String alias;
	private Business_info business_info;
	private String qrcode_url;
	private MiniProgramInfo MiniProgramInfo; // 小程序才有

	@Getter
	@Setter
	public static class Business_info {
		private String open_store;
		private String open_scan;
		private String open_pay;
		private String open_card;
		private String open_shake;
	}

	@Getter
	@Setter
	public static class MiniProgramInfo {
		private MiniProgramInfo_Network network;
		private MiniProgramInfo_Categorie categories;
		private String visit_status;
	}

	@Getter
	@Setter
	public static class MiniProgramInfo_Network {
		private List<String> RequestDomain;
		private List<String> WsRequestDomain;
		private List<String> UploadDomain;
		private List<String> DownloadDomain;
		private List<String> BizDomain;
		private List<String> UDPDomain;
	}

	@Getter
	@Setter
	public static class MiniProgramInfo_Categorie {
		private String first;
		private String second;
	}
}
